
/* 公共常量 */
const common_config = {
    cookie_name_token: "cookie_yzl_token",//存token的cookin名称
    sso_url: "http://localhost:90/login.aspx?redirecturl="//单点登录地址
}

/* 接口地址 */
const api_config = {
    isHavePKPower: "/pk/get/isHavePKPower",//判断当前用户是否有排课权限
    getListByType: "/pk/get/getListByType",//根据类型获取左侧菜单列表0班级1教师2教室
    getPKTerm: "/pk/get/getPKTerm",//获取当前排课学期
    getClassTree: "/pk/get/getClassTree",//获取班级树
    getTableByWeek: '/pk/get/getTableByWeek', //获取某周次的课表
    getMaxWeek: '/pk/get/getMaxWeek', //获取系统最大周次
    getConflictCell: '/pk/get/getConflictCell', //获取冲突坐标
    /*排课检测*/
    testing_power: "/pk/testing/power",//权限
    testing_free: "/pk/testing/free",//系统空闲
    testing_teacherCourse: "/pk/testing/teacherCourse",//教师课程
    testing_allPlan: "/pk/testing/allPlan",//总体计划
    testing_planSet: "/pk/testing/planSet",//计划设置
    testing_planWeekHours: "/pk/testing/planWeekHours",//计划周课时
    testing_planTeacher: "/pk/testing/planTeacher",//计划教师
    testing_planRoom: "/pk/testing/planRoom",//计划教室
    testing_planRoomHours: "/pk/testing/planRoomHours",//计划教室课时
    testing_roomWeekHours: "/pk/testing/roomWeekHours",//教室周课时
    testing_planLimit: "/pk/testing/planLimit",//计划限制
    testing_oneClass: "/pk/testing/oneClass",//合班
    testing_holiday: "/pk/testing/holiday",//节假日
    testing_timeTable: "/pk/testing/timeTable",//已排课程
}

export {
    common_config,
    api_config
}  